package com.naiterui.ehp.bs.b2c.order.service;

import com.naiterui.ehp.bp.bo.b2c.order.ReturnOrderBO;
import com.naiterui.ehp.bp.support.exception.BusinessException;

import java.util.List;

/**
 * @Description 退货订单业务处理接口
 * @Author gongbaoqiang
 * @Date 2019/9/29 2:44 PM
 */
public interface IReturnOrderService {

    /**
     * <pre>
     *     1. 保存/修改  订单信息
     *     2. 生成操作日志信息
     * </pre>
     * @param bo
     * @throws BusinessException
     */
    void save(ReturnOrderBO bo, String operator) throws BusinessException;

    /**
     * <pre>批量审核</pre>
     * @param ids
     * @throws BusinessException
     */
    void audit(List<Long> ids , String operator) throws BusinessException;

    /**
     * <pre>批量反审</pre>
     * @param ids
     * @throws BusinessException
     */
    void reset(List<Long> ids, String operator) throws BusinessException;

    /**
     * <pre>批量提交</pre>
     * @param ids
     * @throws BusinessException
     */
    void submit(List<Long> ids, String operator) throws BusinessException;

    /**
     * <pre>批量作废</pre>
     * @param ids
     * @throws BusinessException
     */
    void invalid(List<Long> ids, String operator) throws BusinessException;

    /**
     * <pre>批量确认收货</pre>
     * @param ids
     * @throws BusinessException
     */
    void confirm(List<Long> ids, String operator) throws BusinessException;
}
